package com.carl.zlds.pojo.dto;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author carl
 */
@Data
public class SaveGameTagInfoDTO {
    @NotBlank(message = "名称不能为空")
    private String name;

    @NotNull(message = "标签分类不能为空")
    @Min(value = 1)
    private Long gameTagId;

    private Long parentId;

    private Integer sort;
}
